extend ../layout

block content
	.container
		.row.myclass
			form.form-horizontal(method="post", action="/admin/movie/new")
				input(type="hidden", name="movie[_id]", value="#{movie[_id]}")
				.form-group
					label.col-sm-3.control-label(for="inputtitle") 电影名字
					.col-sm-9
						input#inputtitle.form-control(type="text", name="movie[title]", value="#{movie.title}")
				.form-group
					label.col-sm-3.control-label(for="inputdoctor") 导演
					.col-sm-9
						input#inputdoctor.form-control(type="text", name="movie[doctor]", value="#{movie.doctor}")
				.form-group
					label.col-sm-3.control-label(for="inputcountry") 国家
					.col-sm-9
						input#inputcountry.form-control(type="text", name="movie[country]", value="#{movie.country}")
				.form-group
					label.col-sm-3.control-label(for="inputlanguage") 语言
					.col-sm-9
						input#inputlanguage.form-control(type="text", name="movie[language]", value="#{movie.language}")
				.form-group
					label.col-sm-3.control-label(for="inputposter") 海报地址
					.col-sm-9
						input#inputposter.form-control(type="text", name="movie[poster]", value="#{movie.poster}")
				.form-group
					label.col-sm-3.control-label(for="inputflash") 片源地址
					.col-sm-9
						input#inputflash.form-control(type="text", name="movie[flash]", value="#{movie.flash}")
				.form-group
					label.col-sm-3.control-label(for="inputyear") 上映年代
					.col-sm-9
						input#inputyear.form-control(type="text", name="movie[year]", value="#{movie.year}")
				.form-group
					label.col-sm-3.control-label(for="inputsummary") 电影简介
					.col-sm-9
						input#inputsummary.form-control(type="text", name="movie[summary]", value="#{movie.summary}")
				.form-group
					.col-sm-offset-3.col-sm-9
						button.btn.btn-default(type="submit") 录入